package com.meilele.entity.guoziyang;

import java.util.List;

public class Seclaber {
    private Integer styleId;

    private String styleLaber;

    private Integer styleBigType;

    private List<SecDetail> secDetailList;

    public Integer getStyleId() {
        return styleId;
    }

    public void setStyleId(Integer styleId) {
        this.styleId = styleId;
    }

    public String getStyleLaber() {
        return styleLaber;
    }

    public void setStyleLaber(String styleLaber) {
        this.styleLaber = styleLaber;
    }

    public Integer getStyleBigType() {
        return styleBigType;
    }

    public void setStyleBigType(Integer styleBigType) {
        this.styleBigType = styleBigType;
    }

    public List<SecDetail> getSecDetailList() {
        return secDetailList;
    }

    public void setSecDetailList(List<SecDetail> secDetailList) {
        this.secDetailList = secDetailList;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Seclaber seclaber = (Seclaber) o;

        if (styleId != null ? !styleId.equals(seclaber.styleId) : seclaber.styleId != null) return false;
        if (styleLaber != null ? !styleLaber.equals(seclaber.styleLaber) : seclaber.styleLaber != null) return false;
        if (styleBigType != null ? !styleBigType.equals(seclaber.styleBigType) : seclaber.styleBigType != null)
            return false;
        return secDetailList != null ? secDetailList.equals(seclaber.secDetailList) : seclaber.secDetailList == null;
    }

    @Override
    public int hashCode() {
        int result = styleId != null ? styleId.hashCode() : 0;
        result = 31 * result + (styleLaber != null ? styleLaber.hashCode() : 0);
        result = 31 * result + (styleBigType != null ? styleBigType.hashCode() : 0);
        result = 31 * result + (secDetailList != null ? secDetailList.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "Seclaber{" +
                "styleId=" + styleId +
                ", styleLaber='" + styleLaber + '\'' +
                ", styleBigType=" + styleBigType +
                ", secDetailList=" + secDetailList +
                '}';
    }
}